package com.ruoyi.project.tickets.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import java.util.Date;

/**
 * 销售概况对象 t_sale
 * 
 * @author 孙山伟
 * @date 2023-07-01
 */
public class Sale extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 结算类型 */
    @Excel(name = "结算类型")
    private String settleType;

    /** 金额 */
    @Excel(name = "金额")
    private Double amount;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 店铺id */
    @Excel(name = "店铺id")
    private Long shopId;

    /** 销售时间 */
    @Excel(name = "销售时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shopTime;


    private String  shopStartTime;

    private String shopEndTime;

    /** 主键 */
    private Long id;

    private Long  totalNumber;

    public void setSettleType(String settleType) 
    {
        this.settleType = settleType;
    }

    public String getSettleType() 
    {
        return settleType;
    }
    public void setAmount(Double amount) 
    {
        this.amount = amount;
    }

    public Double getAmount() 
    {
        return amount;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setShopTime(Date shopTime) 
    {
        this.shopTime = shopTime;
    }

    public Date getShopTime() 
    {
        return shopTime;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("settleType", getSettleType())
            .append("amount", getAmount())
            .append("userId", getUserId())
            .append("shopId", getShopId())
            .append("shopTime", getShopTime())
            .append("id", getId())
            .toString();
    }

    public Long getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(Long totalNumber) {
        this.totalNumber = totalNumber;
    }

    public String getShopStartTime() {
        return shopStartTime;
    }

    public void setShopStartTime(String shopStartTime) {
        this.shopStartTime = shopStartTime;
    }

    public String getShopEndTime() {
        return shopEndTime;
    }

    public void setShopEndTime(String shopEndTime) {
        this.shopEndTime = shopEndTime;
    }
}
